package com.myapp.transition;

import java.io.IOException;

import javax.enterprise.context.ConversationScoped;
import javax.enterprise.inject.Typed;
import javax.inject.Named;

import org.camunda.bpm.engine.cdi.jsf.TaskForm;

@ConversationScoped
@Named("myTaskForm")
@Typed({MyTaskForm.class})
public class MyTaskForm extends TaskForm {
	private static final long serialVersionUID = 1L;

	@Override
	public void completeTask() throws IOException {
		businessProcess.completeTask(true);
	}
}
